package com.drawquest;

import com.drawquest.gui.MainFrame;
import com.gooddies.wiring.Wiring;
import javax.swing.SwingUtilities;

/**
 * @author Dmitry
 */
public class DrawQuest {

    public static void main(String[] args) {
        Wiring.init().defaultInit(DrawQuest.class);
        //String comments=Wiring.getComponent(Network.class).getComments();
        //System.out.println(comments);
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                MainFrame mainFrame = Wiring.getComponent(MainFrame.class);
                mainFrame.setLocationRelativeTo(null);
                mainFrame.setVisible(true);
            }
        });
    }
}
